let initialState = { num: 5};
export default function reducer2(state=initialState,action){
  switch(action.type){
    case 'ADD1':
      return {
        num: state.num + 1
      }
    case 'MINUS1':
      return {
         num: state.num - 1
      }
    default: 
      return state;
  }
}